﻿@model IEnumerable<aop_cache_Entity.Classroom_Info>
@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>ClassroomInfoID
        </th>
        <th>UserInfoID
        </th>
        <th>Title
        </th>
        <th>Description
        </th>
        <th>addtime</th>
        <th></th>
    </tr>

    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.ClassroomInfoID)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.UserInfoID)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Title)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Description)
            </td>
            <td>@Html.DisplayFor(i => item.AddTime)</td>
            <td>@Html.ActionLink("编辑", "Edit", new { id = item.ClassroomInfoID })</td>
        </tr>
    }

</table>
